Skip to content

Fix v4 theme reloading on Windows #960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2024
Merged

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented May 1, 2024

This PR adds normalization of drive letters in watched files on Windows.

This is necessary because we receive paths from different sources (filesystem vs VS Code file watching notifications), and sometimes they start with C: and other times with c:.

We now normalize case of windows drive letters of watched files because we may recieve a path that has `C:` at the start of a path in some places and `c:` in others because they’re coming from different sources (filesystem vs VS Code file watching notifications).
@thecrypticace thecrypticace requested a review from reinink May 1, 2024 15:22
@thecrypticace thecrypticace merged commit 086ffff into master May 2, 2024
@thecrypticace thecrypticace deleted the fix/v4-css-reload-windows branch May 2, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants